package com.ftg.learn.day09.homework;

/**
 * @author kangjx
 * @version 1.0
 * @date 2023/8/3 下午1:21
 */
public class Fish extends Animal implements Swim, Fly {
    @Override
    public void eat() {
        System.out.println("鱼吃");
    }

    @Override
    public void fly() {
        System.out.println("鱼飞");
    }

    @Override
    public void swim() {
        System.out.println("鱼游戏");
    }
}
